package com.ruoyi.xunmei.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店信息对象 xunmei_store_info
 * 
 * @author zhanghang
 * @date 2023-12-04
 */
public class XunmeiStoreInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 门店id */
    private Long id;

    /** 营业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "营业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessHours;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 门店地址 */
    @Excel(name = "门店地址")
    private String address;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessHours(Date businessHours) 
    {
        this.businessHours = businessHours;
    }

    public Date getBusinessHours() 
    {
        return businessHours;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setModifiedDate(Date modifiedDate) 
    {
        this.modifiedDate = modifiedDate;
    }

    public Date getModifiedDate() 
    {
        return modifiedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessHours", getBusinessHours())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("createDate", getCreateDate())
            .append("modifiedDate", getModifiedDate())
            .toString();
    }
}
